package com.sicpa.system.mapper;

import com.sicpa.common.core.domain.entity.AntiCounterfeitingUpdateContract;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * AntiCounterfeitingUpdateContractMapper
 * @author lwf
 */
public interface AntiCounterfeitingUpdateContractMapper {

    /**
     * 根据id删除数据
     * @param applyId
     * @return
     */
    int deleteByPrimaryKey(Long applyId);

    /**
     * 动态插入数据
     * @param record
     * @return
     */
    int insertSelective(AntiCounterfeitingUpdateContract record);

    /**
     * 根据id查询数据
     * @param applyId
     * @return
     */
    AntiCounterfeitingUpdateContract selectByPrimaryKey(Long applyId);

    /**
     * 动态更新
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(AntiCounterfeitingUpdateContract record);

    /**
     * 列表查询数据
     * @param record
     * @return
     */
    List<Map<String,Object>> selectList(AntiCounterfeitingUpdateContract record);

    /**
     * 处理修改联系人审批
     * @param contract
     */
    void processApplications(AntiCounterfeitingUpdateContract contract);

    /**
     * 导出 Excel 使用
     * @param record
     * @return
     */
    List<LinkedHashMap<String,Object>> exportList(AntiCounterfeitingUpdateContract record);
}